#pragma once


#define Handler_FromAgentServer_DECL( p )	static VOID On##p( ServerSession * pServerSession, MSG_BASE * pMsg, WORD wSize )
#define Handler_FromAgentServer_IMPL( p )	VOID Handler_FromAgentServer::On##p( ServerSession * pServerSession, MSG_BASE * pMsg, WORD wSize )

class DBUser;
class ServerSession;
class Handler_FromAgentServer
{
public:
	Handler_FromAgentServer(void){}
	~Handler_FromAgentServer(void){}

	Handler_FromAgentServer_DECL( AD_CHARINFO_CHARLISTREQ_SYN );
	Handler_FromAgentServer_DECL( AD_CHARINFO_CHARLISTREQ_DBR );


	Handler_FromAgentServer_DECL( AD_CHARINFO_CREATE_SYN );
	Handler_FromAgentServer_DECL( AD_CHARINFO_CREATE_DBR );

	Handler_FromAgentServer_DECL( AD_CHARINFO_DESTROY_SYN );
	Handler_FromAgentServer_DECL( AD_CHARINFO_DESTROY_DBR );

};
